package com.scwuhua.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息对象 t_device
 * 
 * @author wuhua
 * @date 2023-05-11
 */
public class Device extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 设备id */
    @Excel(name = "设备id")
    private Integer facId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String facName;

    /** 元素名称 */
    @Excel(name = "元素名称")
    private String eleName;

    /** 元素索引 */
    @Excel(name = "元素索引")
    private String eleNum;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 封面 */
    @Excel(name = "封面")
    private String coverUrl;

    /** 物联网卡号 */
    @Excel(name = "物联网卡号")
    private String sim;

    /** 扩展元素索引 */
    @Excel(name = "扩展元素索引")
    private String elementExtendNum;

    /** 账户id */
    @Excel(name = "账户id")
    private Integer accountId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setFacId(Integer facId) 
    {
        this.facId = facId;
    }

    public Integer getFacId() 
    {
        return facId;
    }
    public void setFacName(String facName) 
    {
        this.facName = facName;
    }

    public String getFacName() 
    {
        return facName;
    }
    public void setEleName(String eleName) 
    {
        this.eleName = eleName;
    }

    public String getEleName() 
    {
        return eleName;
    }
    public void setEleNum(String eleNum) 
    {
        this.eleNum = eleNum;
    }

    public String getEleNum() 
    {
        return eleNum;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setCoverUrl(String coverUrl) 
    {
        this.coverUrl = coverUrl;
    }

    public String getCoverUrl() 
    {
        return coverUrl;
    }
    public void setSim(String sim) 
    {
        this.sim = sim;
    }

    public String getSim() 
    {
        return sim;
    }
    public void setElementExtendNum(String elementExtendNum) 
    {
        this.elementExtendNum = elementExtendNum;
    }

    public String getElementExtendNum() 
    {
        return elementExtendNum;
    }
    public void setAccountId(Integer accountId) 
    {
        this.accountId = accountId;
    }

    public Integer getAccountId() 
    {
        return accountId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("facId", getFacId())
            .append("facName", getFacName())
            .append("eleName", getEleName())
            .append("eleNum", getEleNum())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("coverUrl", getCoverUrl())
            .append("sim", getSim())
            .append("elementExtendNum", getElementExtendNum())
            .append("accountId", getAccountId())
            .toString();
    }
}
